import request from '../utils/request'

export const getLunbo = () => {
  return request({
    method: 'get',
    url: "/api/front/index"
  })
}
export const getproduct = ({ page, limit }) => {
  return request({
    mehod: 'get',
    url: `/api/front/index/product/1?pageindex=${page}$limit=${limit}`

})
}

//优惠券https://api.java.crmeb.net/api/front/coupons?page=1&limit=6
export const getCoupons =()=>{
  return request({
    mehod: 'get',
    url: `//api.java.crmeb.net/api/front/coupons?page=1&limit=6`

})
}